home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / VBSamples / DirectInput / Scrawl / readme.txt < prev    next >
Encoding:
Text File  |  2001-10-10  |  1.4 KB  |  40 lines

  1. //-----------------------------------------------------------------------------
  2. // Name: Scrawlb DirectInput Sample
  3. // 
  4. // Copyright (C) 1999-2001 Microsoft Corporation. All rights reserved.
  5. //-----------------------------------------------------------------------------
  6.  
  7.  
  8. Description
  9. ===========
  10.    The Scrawlb sample illustrates the use of DirectInput to create a simple drawing program.
  11.    It shows the use of callbacks to receive mouse movement events.
  12.  
  13.    
  14. Path
  15. ====
  16.    Source:     DXSDK\Samples\Multimedia\Vbsamples\DirectInput\ScrawlB
  17.    Executable: DXSDK\Samples\Multimedia\vbsamples\DirectInput\Bin
  18.  
  19.  
  20. User's Guide
  21. ============
  22.    Left Click and drag on the canvas to draw
  23.    Right Click will bring up a pop up menu with choices
  24.    About              Application information
  25.    Speed 1            Slow mouse movement
  26.    Speed 2            Fast mouse movement
  27.    Speed 3            Faster mouse movement
  28.    Clear              Clear the canvas
  29.    Release Mouse      Change from pencil to cursor pointer
  30.  
  31.  
  32. Programming Notes
  33. =================
  34.   The application subclasses the Display window to capture ENTERMENU messages so that
  35.   the cursor can be reset when selecting the menu. This is done through a call to
  36.   SetWindowLong. Note that failure to comment out these lines while running the sample from
  37.   within the Visual Basic environment will result in undefined behavior.
  38.  
  39.    
  40.